<html>
	<head>
		<title>URI Encoding</title>
		<script type="text/javascript"> 
				funtion encodeStrings(){
					var sOne = encodeURIComponent("http://www.gmail.com");					
					var sTwo = encodeURI("http://www.gmail.com");
					
					var sOutput = "<p>Link is " + sTwo + sOne + "</p>";
					document.write(sOne);
					
					var sOneDecoded = decodeURIComponent(sOne);
					var sTwoDecoded = decodeURI(sTwo);
					
					var sOutputDecoded = "<p>" + sOneDecoded + "</p><p>" + sTwoDecoded + "</p>";
					document.write(sOutputDecoded);
				}
		</script> 
	</head>
	<body onload="encodeStrings()">
		<noscript>
		<p>Hello Bela!</p>
		</noscript>
	</body>
</html>
